namespace ICSharpCode.TextEditor.Src.Document.FoldingStrategy
{
	internal class XmlFoldStart
	{
		private readonly int _col;

		private string _foldText = string.Empty;

		private readonly int _line;

		private readonly string _name = string.Empty;

		private readonly string _prefix = string.Empty;

		public int Column => this._col;

		public string FoldText
		{
			get
			{
				return this._foldText;
			}
			set
			{
				this._foldText = value;
			}
		}

		public int Line => this._line;

		public string Name => (this._prefix.Length > 0) ? (this._prefix + ":" + this._name) : this._name;

		public XmlFoldStart(string prefix, string name, int line, int col)
		{
			this._line = line;
			this._col = col;
			this._prefix = prefix;
			this._name = name;
		}
	}
}
